package com.demo.apparel.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "管理员的实体类")
public class Admin {
    @Schema(description = "管理员ID")
    private String id;

    @Schema(description = "openid")
    private String openid;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "密码（加密存储）")
    private String password;

    @Schema(description = "是否为超级管理员（0否，1是）")
    private String isSuper;

    @Schema(description = "创建时间")
    private LocalDateTime createdTime;

    @Schema(description = "更新时间")
    private LocalDateTime updatedTime;
}
